package com.hsoft.zhxy.app.layout_03_01.service;

import com.alibaba.fastjson.JSONObject;
import com.hsoft.zhxy.app.layout_03_01.model.query.LoginQuery;
import com.hsoft.zhxy.common.redis.RedisClient;

public interface LoginService {

    /**
     * 判断用户登录信息
     * @param loginQuery
     * @param redisClient
     * @return
     */
    JSONObject checkUser(LoginQuery loginQuery, RedisClient redisClient);

    /**
     * 生成验证码
     * @param redisClient
     * @return
     */
    JSONObject getCode(RedisClient redisClient);
}
